InternalError

Predefined human-readable failure messages exposed by the SDK for display in the host UI.

Each entry carries a default message string (with optional %s placeholders). Use format to substitute placeholder arguments and obtain the final string. These messages are intended for direct display to end users (for example, in a toast or alert) and are not machine-readable error codes — for programmatic error handling use the codes defined on com.genesys.cloud.core.utils.NRError.

Usage:

toast(context, InternalError.DeploymentInactiveStatusError.format())

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The Messenger deployment is currently inactive (disabled in Genesys Cloud admin) and cannot accept new chat sessions. Display this message when a chat attempt fails with com.genesys.cloud.integration.core.StateEvent.Unavailable.

Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun format(vararg args: String): String

Returns the message string with any %s placeholders substituted by the supplied arguments.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.